package com.example.shuiyin.dto;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class BatchProcessRequest {
    
    @NotEmpty(message = "图片ID列表不能为空")
    @Size(max = 100, message = "一次最多处理100张图片")
    private List<String> imageIds;
    
    @NotNull(message = "水印设置不能为空")
    private Map<String, Object> watermarkSettings;
    
    @NotNull(message = "处理类型不能为空")
    @Pattern(regexp = "^(add|remove)$", message = "处理类型只能是add或remove")
    private String processType; // add/remove
} 